home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!xmission!news
- From: tknarr@xmission.com ( Todd Knarr )
- Newsgroups: comp.lang.c++
- Subject: Re: two tricky questions
- Date: 1 Jan 1996 05:16:55 GMT
- Organization: Chaos Central
- Message-ID: <4c7qo7$26o@news.xmission.com>
- References: <4c4tbn$ga9@sunburst.ccs.yorku.ca> <4c5dn1$j5r@news.xmission.com> <4c6v9u$jdl@news.xmission.com> <30E707C7.5D8F@holli.com>
- Reply-To: tknarr@xmission.com ( Todd Knarr )
- NNTP-Posting-Host: slc37.xmission.com
- X-Newsreader: IBM NewsReader/2 v1.2
-
- In <30E707C7.5D8F@holli.com>, John K Gotwals <gotwals@holli.com> writes:
- >In addition to the two items you named, a destructor is also needed.
-
- Yes, and the original poster had a destructor in the class that did
- the right thing. Which brings up the nasty problem that, had the original
- poster not had the correct destructor but had merely allowed the
- compiler to generate a default one as with the copy constructor, there
- would have been no apparent problem.
-
- --
- Todd Knarr : tknarr@xmission.com | finger for PGP public key
- | Member, USENET Cabal
-
- Seriously, I don't want to die just yet. I don't care how
- good-looking they are, I! don't! want! to! die!"
- -- Megazone ( UF1 )
-
-